package homework10;
import homework10.Unix.UnixFactory;
import homework10.Unix.UnixText;
import homework10.Win.WinButton;
import homework10.Win.WinFactory;
public class Demo {
    public static void main(String[] args) {
        WinButton winButton = new WinButton();
        winButton.display();
        UnixText unixText  =new UnixText();
        unixText.display();
        UnixFactory unixFactory = new UnixFactory();
        unixFactory.createButton();
        unixFactory.createText();
        WinFactory winFactory = new WinFactory();
        winFactory.createButton();
        winFactory.createText();
    }
}
